package com.tj.shopping.service;

import com.tj.shopping.entity.User;

import java.util.Map;

/**
 * 业务层
 */
public interface IUserService {
    Map<String,Object> findall ();
    int update(User user);
    Map<String,Object> finds (Map<String,Object> map);
    int add(User user);

    User login(String uname,String upwd);
}
